<template>
	<view class="my-header" @click="gotoSearch">
		<text>搜索我要看的书</text>
	</view>
</template>

<script>
	export default {
		name:"myHeader",
		data() {
			return {
				
			};
		},
		methods:{
			gotoSearch() {
				uni.navigateTo({
					url: '/pages/search/search'
				});
			},
		}
	}
</script>

<style lang="scss">
	.my-header{
		height: 90rpx;
		line-height: 90rpx;
		text-align: center;
		background: #C7C7C7;
	}

</style>
